# -*- coding: UTF-8 -*-
"""
@author: tgy
@file: src.py
@time: 2021/08/13
"""
from log import log

__all__ = ['run']

def login(username,password):
    ...
    log.log(__file__,'login')
    print('登录')


def register():
    ...
    log.log(__file__, 'login')
    print('注册')



def run():
    print("""
    1.登录
    2.注册
    """)
    num = input('请输入:')
    try:
        num = int(num)

        if num == 1:
            ...
            login('zhangsan','123456')
        elif num == 2:
            ...
            register()

    except Exception as e:
        print("输入有问题")